package per.destiny.seckill.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import per.destiny.seckill.mapper.UserMapper;
import per.destiny.seckill.pojo.User;

import java.util.List;

@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public List<User> getUserList() {
        return userMapper.selectByExample(null);
    }
}
